package com.design.facade;

/**
* Description: 外观模式<br/>
* date: 2023/11/24 10:35<br/>
* @author: zhangzaijun <br/>
* @since JDK 1.8
*/

public class FacadeMain {
    public static void main(String[] args) {
        Shape circle = new Circle();
        Shape rectangle = new Rectangle();
        Shape square = new Square();

        new ShapeMaker(circle).draw();
        new ShapeMaker(rectangle).draw();
        new ShapeMaker(square).draw();
    }
}
